package com.company.java.basic.DBFactory;

public class oracleFactory implements DbFactory {
    @Override
    public Connection createConnection() {
        Connection connection = new oracleConnection();
        return connection;
    }

    @Override
    public Statement createStatement() {
        Statement statement = new oracleStatement();
        return statement;
    }
}
